package com.humbleyuan.blogfront.service.impl;

import com.humbleyuan.blogfront.entity.Carousel;
import com.humbleyuan.blogfront.mapper.CarouselMapper;
import com.humbleyuan.blogfront.service.CarouselService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author HumbleYuan
 * @Date 2019/11/19 16:20
 * @Des
 */
@Service
public class CarouselServiceImpl implements CarouselService {
    @Autowired
    CarouselMapper carouselMapper;

    @Override
    public List<Carousel> getAllCarousel() {
        return carouselMapper.getAllCarousel();
    }
}
